import HttpRequest from "../request";

//登录
export function login(params) {
  return HttpRequest({
    url: "/user/login",
    method: "POST",
    params: params,
  });
}

//登录
export function getUserInfo(params) {
  return HttpRequest({
    url: "/user/tokenToInfo",
    method: "GET",
    params: params,
  });
}
